package com.milling.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.milling.common.annotation.Excel;
import com.milling.common.core.domain.BaseEntity;

/**
 * 配针缓存库补料信息对象 wms_config_supply
 *
 * @author X
 * @date 2025-07-25
 */
public class WmsConfigSupply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 补料编号 */
    private Long id;

    /** ERP任务编号 */
    @Excel(name = "ERP任务编号")
    private Long erpTaskId;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private Long configId;

    /** 补料状态 */
    @Excel(name = "补料状态")
    private String configStatus;

    /** 料号 */
    @Excel(name = "料号")
    private String drillInfo;

    /** 二维码 */
    @Excel(name = "二维码")
    private String boxCode;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setErpTaskId(Long erpTaskId)
    {
        this.erpTaskId = erpTaskId;
    }

    public Long getErpTaskId()
    {
        return erpTaskId;
    }

    public Long getConfigId() {
        return configId;
    }

    public void setConfigId(Long configId) {
        this.configId = configId;
    }

    public void setConfigStatus(String configStatus)
    {
        this.configStatus = configStatus;
    }

    public String getConfigStatus()
    {
        return configStatus;
    }
    public void setDrillInfo(String drillInfo)
    {
        this.drillInfo = drillInfo;
    }

    public String getDrillInfo()
    {
        return drillInfo;
    }
    public void setBoxCode(String boxCode)
    {
        this.boxCode = boxCode;
    }

    public String getBoxCode()
    {
        return boxCode;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("erpTaskId", getErpTaskId())
                .append("configId", getConfigId())
                .append("configStatus", getConfigStatus())
                .append("drillInfo", getDrillInfo())
                .append("boxCode", getBoxCode())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
